//
//  HJInfoCell.m
//  project
//
//  Created by yefei on 2019/7/24.
//  Copyright © 2019 健健. All rights reserved.
//

#import "HJInfoCell.h"
//#import "YFMineCellViewModel.h"
//#import "YFDongtaiModel.h"
#import "HJVideoModel.h"

@interface HJInfoCell()
@property (weak, nonatomic) IBOutlet UIImageView *bgImgView;
@property (weak, nonatomic) IBOutlet UIImageView *isVideoImg;
@property (weak, nonatomic) IBOutlet UIButton *viewBtn;
@property (weak, nonatomic) IBOutlet UIButton *zanBtn;

@end
@implementation HJInfoCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    [self rounded:UIRectCornerAllCorners radius:6];
}

-(void)loadDataMoreWithModel:(HJVideoModel  *)model {
    [self.bgImgView sd_setImageWithURL:[NSURL URLWithString:model.videoSource.thumbnail] placeholderImage:nil];
    [self.viewBtn setTitle:model.reviewAmount forState:0];
    [self.zanBtn setTitle:model.praiseAmount forState:0];
}

@end
